package sg.edu.nus.iss.team2s.jass.dto;

/**
 * @author Zhang Jinzhong
 */
public class Advertiser extends User {
	private String advertiserId;
	private String fullName;
	private String address;
	private String telephone;
	private String fax;
	private String email;
	private String loginId;

	public Advertiser() {
		super();
		advertiserId="0";
		super.setUserType(String.valueOf(User.JOBADVERTISER));
	}

	public Advertiser(String advertiserId, String fullName, String address,
			String telephone, String fax, String email, String loginId) {
		super();
		this.advertiserId = advertiserId;
		this.fullName = fullName;
		this.address = address;
		this.telephone = telephone;
		this.fax = fax;
		this.email = email;
		this.loginId = loginId;
		super.setUserType(String.valueOf(User.JOBADVERTISER));
		super.setLoginName(loginId);
	}

	public String getAdvertiserId() {
		return advertiserId;
	}

	public void setAdvertiserId(String advertiserId) {
		this.advertiserId = advertiserId;
	}
	
	public String getFullName() {
		return fullName;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getFax() {
		return fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getLoginId() {
		return loginId;
	}

	public void setLoginId(String loginId) {
		this.loginId = loginId;
	}
}
